<?php
/**
 * @version		$Id: type.php 2011.08.11 thierry $
 * @package		admin.models.fields
 * @subpackage	com_projid
 * @copyright	Copyright (C) 2011 Pojid All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;
jimport('joomla.form.helper');

JFormHelper::loadFieldClass('list');


class JFormFieldType extends JFormFieldList
{
	protected $type = 'Type';

protected function getOptions() 
	{
		
	$options[] = JHtml::_('select.option', 'string', 'string');
	$options[] = JHtml::_('select.option', 'integer', 'integer');
	
	$options = array_merge(parent::getOptions(), $options);
		
	return $options;
	}
}
